<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>后台管理--用户工资列表</title>
    <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/canvg2.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/html2canvas-0.4.1.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/canvg2.js" type="text/javascript"></script>
    <script src="${ctxStatic}/img/jspdf.min.js" type="text/javascript"></script>

    <script src="${ctxStatic}/js/payassessment/deptsuboutworkpaydeptsh.js?v=<%=System.currentTimeMillis()%>"
            type="text/javascript"></script>

    <style>
        .l-text-field {
            height: 30px
        }

        .pdf > table {
            width: 100%;
            font-size: .938em;
            border-collapse: collapse; /*边框会合并为一个单一的边框*/
        }

        .pdf th {
            text-align: left;
            padding: .5em .5em;
            font-weight: bold;
            background: #66677c;
            color: #fff;
        }

        .pdf td {
            padding: .5em .5em;
            border-bottom: solid 1px #ccc;
        }

        .pdf table, .pdf table tr th, .pdf table tr td {
            border: 1px solid #0094ff;
        }

        /*设置边框的*/
    </style>
</head>
<body>

<div class="currentnav"><span class="tiao"></span><span class="navtitle">房山分局季度津贴审批</span></div>

<div class="tabregion">
    <div class="serchcontent">
        <div class="search">
            <div class="layui-form">
                <table>
                    <tr>
                        <td class="td_right">年份：</td>
                        <td style="width:100px">
                            <select id="year" lay-filter="year">
                                <option value="2025">2025年</option>
                                <option value="2024">2024年</option>
                                <option value="2023">2023年</option>
                                <option value="2022">2022年</option>
                                <option value="2021">2021年</option>
                                <option value="2020">2020年</option>
                                <option value="2019">2019年</option>
                                <option value="2018">2018年</option>
                                <option value="2017">2017年</option>
                            </select>
                        </td>
                        <td style="width:60px;text-align:right">季度：</td>
                        <td>
                            <c:if test="${quarter == 1}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 2}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 3}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 4}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度"
                                       checked="">
                            </c:if>
                        </td>
                        <input type="hidden" id="hidyear" value="${year}"/>
                        <input type="hidden" id="hidusername" value="${username}">
                        <input type="hidden" id="hidorgid" value="${orgid}">
                        <input type="hidden" id="hidstatus" value="${status}">
                        <input type="hidden" id="hiddeptname" value="${hiddeptname}">
                        <input type="hidden" id="tablehight" value="">
                        <td style="text-align: center;width:260px">
                            <input type="button" class="button" value="查询" onclick="vDSOPayDeptsh.searchtable()"/>
                            <button class="button" id="pdfbutton" style="display: none" onclick="vDSOPayDeptsh.createpdf()">重新生成公示</button>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div class="content">
        <div id="list" class="list" lay-filter="list"></div>
    </div>
    <div class="bottom_tab" id="bottom_btns" style="display: block;">
        <input type="button" class="button" id="passbnt" value="通过" onclick="vDSOPayDeptsh.update(2)"/>
        <input type="button" class="button" id="restbnt" value="驳回" onclick="vDSOPayDeptsh.update(5)"/>
        <%--<input type="button" id="passbtn" class="button" value="通过" onclick="ok()"/>--%>
        <%--<input type="button" id="retbtn" class="button" value="驳回" onclick="reject()"/>--%>
    </div>


    <div id="table" class="pdf"  style="display: none">
        <div class="orgname" style="text-align: center"></div>
        <table id="tableData">
            <thead>
            <tr>
                <th rowspan="3">序号</th>
                <th rowspan="3">姓名</th>
                <th rowspan="3">部门</th>
                <th rowspan="3">身份证号</th>
                <th rowspan="3">合计</th>
                <th colspan="13" >执勤岗位津贴</th>
                <th colspan="4" >季度保留津贴</th>
                <th colspan="4">加班补贴</th>
                <th rowspan="3">本人签字</th>
                <th rowspan="3">备注</th>
            </tr>
            <tr>
                <th rowspan="2" >值勤岗位<br/>津贴合计</th>
                <th colspan="6" >一类岗执行<br/>50元标准</th>
                <th colspan="6" >二类岗执行<br/>40元标准</th>
                <th rowspan="2" >保留津贴合计</th>
                <th rowspan="2" id="rmonth1"></th>
                <th rowspan="2" id="rmonth2"></th>
                <th rowspan="2" id="rmonth3"></th>
                <th rowspan="2" >加班补贴合计</th>
                <th rowspan="2" id="omonth1"></th>
                <th rowspan="2" id="omonth2"></th>
                <th rowspan="2" id="omonth3"></th>
            </tr>
            <tr>
                <th id="day1"></th>
                <th >金额</th>
                <th id="day12"></th>
                <th >金额</th>
                <th id="day13"></th>
                <th >金额</th>
                <th id="day2"></th>
                <th >金额</th>
                <th id="day22"></th>
                <th >金额</th>
                <th id="day23"></th>
                <th >金额</th>
            </tr>
            </thead>
        </table>

    </div>
</div>
</body>
</html>